/**
*	@class COpenGLIndexBuffer
*
*	@brief
*
*	@author William McVicar
*/

#pragma once

#ifndef __OPENGLINDEXBUFFER_H_INCLUDED__
#define __OPENGLINDEXBUFFER_H_INCLUDED__
#ifdef OPENGL

//  Library Includes

//  Local Includes
#include <gl\GL.h>

//  Macros

//  Forward Declarations
namespace Protein{ class IndexBufferBase; }

//  Types

//  Constants

//  Prototypes

namespace Protein
{

class IndexBuffer
{
	//Member Functions
public:

	IndexBuffer( IndexBufferBase* _pBase );
	~IndexBuffer();

	void Enable();
	void Disable();

protected: 

private: 

	//Member Variables
public:

protected: 

private: 

	GLuint		m_bufferID;

};

#include "OpenGLIndexBuffer.inl"

}

#endif

#endif //__OPENGLINDEXBUFFER_H_INCLUDED__
